package com.ruoyi.web.controller.demo.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * sys_schedul_pai对象 sys_schedul_pai
 * 
 * @author ruoyi
 * @date 2022-12-27
 */
public class SysSchedulPai extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增Id 主键 */
    private Long id;

    /** 排班名称 */
    @Excel(name = "排班名称")
    private String name;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createName;

    /** 所属部门 联查查询部门 */
    @Excel(name = "所属部门 联查查询部门")
    private Long deptId;

    /** 紧急程度 0-普通1-紧急 */
    @Excel(name = "紧急程度 0-普通1-紧急")
    private String urgent;

    private String deptName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /** 人员信息信息 */
    private List<SysWzxUser> sysWzxUserList;

    private SysWzxUser sysWzxUser;

    public SysWzxUser getSysWzxUser() {
        return sysWzxUser;
    }

    public void setSysWzxUser(SysWzxUser sysWzxUser) {
        this.sysWzxUser = sysWzxUser;
    }

    /** schedul_pai_relate信息 */
    private List<SysSchedulPaiRelate> sysSchedulPaiRelateList;



    public List<SysSchedulPaiRelate> getSysSchedulPaiRelateList() {
        return sysSchedulPaiRelateList;
    }

    public void setSysSchedulPaiRelateList(List<SysSchedulPaiRelate> sysSchedulPaiRelateList) {
        this.sysSchedulPaiRelateList = sysSchedulPaiRelateList;
    }

    private  SysSchedulPaiRelate sysSchedulPaiRelate;

    public SysSchedulPaiRelate getSysSchedulPaiRelate() {
        return sysSchedulPaiRelate;
    }

    public void setSysSchedulPaiRelate(SysSchedulPaiRelate sysSchedulPaiRelate) {
        this.sysSchedulPaiRelate = sysSchedulPaiRelate;
    }

    private String[] beginTime;

    private String[] endTime;
    private Long[] zhiId;

    public String[] getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String[] beginTime) {
        this.beginTime = beginTime;
    }

    public String[] getEndTime() {
        return endTime;
    }

    public void setEndTime(String[] endTime) {
        this.endTime = endTime;
    }

    public Long[] getZhiId() {
        return zhiId;
    }

    public void setZhiId(Long[] zhiId) {
        this.zhiId = zhiId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCreateName(Long createName)
    {
        this.createName = createName;
    }

    public Long getCreateName()
    {
        return createName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUrgent(String urgent) 
    {
        this.urgent = urgent;
    }

    public String getUrgent() 
    {
        return urgent;
    }

    public List<SysWzxUser> getSysWzxUserList()
    {
        return sysWzxUserList;
    }

    public void setSysWzxUserList(List<SysWzxUser> sysWzxUserList)
    {
        this.sysWzxUserList = sysWzxUserList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .append("urgent", getUrgent())
            .append("sysWzxUserList", getSysWzxUserList())
            .toString();
    }
}
